package card;

public class Card {
    //Card类有两个属性，包括字符串类型的color(花色)以及整型的number(数字)

    //花色
    private String color;

    //数字
    private int number;

    public Card() {
    }

    public Card(String color, int number) {
        this.color = color;
        this.number = number;
    }

    @Override
    public String toString() {
        return "[" + this.number + this.color +"]";
    }
}
